package bean;

import java.util.Date;

import org.apache.commons.lang.time.DateFormatUtils;

public class OssMonitorTimeInventory implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Integer oilCan;
	private Date storeTime;
	private String oilNo;
	private Double standardL;
	private Double heightTotal;
	private Double oilL;
	private Double heightWater;
	private Double waterL;
	private Double temperature;
	private Double volumeEmpty;
	private Double temp1;
	private Double temp2;
	private Double temp3;
	private Double temp4;
	private Double temp5;
	private Double densities;
	private Double densitiesStandard;
	private String tranStatus;
	private Date createTime;
	private String shift;
	private String nodeNo;

	public String getNodeNo() {
		return nodeNo;
	}

	public void setNodeNo(String nodeNo) {
		this.nodeNo = nodeNo;
	}

	public Integer getOilCan() {
		return oilCan;
	}

	public void setOilCan(Integer oilCan) {
		this.oilCan = oilCan;
	}

	public Date getStoreTime() {
		return storeTime;
	}

	public void setStoreTime(Date storeTime) {
		this.storeTime = storeTime;
	}

	public String getOilNo() {
		return oilNo;
	}

	public void setOilNo(String oilNo) {
		this.oilNo = oilNo;
	}

	public Double getStandardL() {
		return standardL;
	}

	public void setStandardL(Double standardL) {
		this.standardL = standardL;
	}

	public Double getHeightTotal() {
		return heightTotal;
	}

	public void setHeightTotal(Double heightTotal) {
		this.heightTotal = heightTotal;
	}

	public Double getOilL() {
		return oilL;
	}

	public void setOilL(Double oilL) {
		this.oilL = oilL;
	}

	public Double getHeightWater() {
		return heightWater;
	}

	public void setHeightWater(Double heightWater) {
		this.heightWater = heightWater;
	}

	public Double getWaterL() {
		return waterL;
	}

	public void setWaterL(Double waterL) {
		this.waterL = waterL;
	}

	public Double getTemperature() {
		return temperature;
	}

	public void setTemperature(Double temperature) {
		this.temperature = temperature;
	}

	public Double getVolumeEmpty() {
		return volumeEmpty;
	}

	public void setVolumeEmpty(Double volumeEmpty) {
		this.volumeEmpty = volumeEmpty;
	}

	public Double getTemp1() {
		return temp1;
	}

	public void setTemp1(Double temp1) {
		this.temp1 = temp1;
	}

	public Double getTemp2() {
		return temp2;
	}

	public void setTemp2(Double temp2) {
		this.temp2 = temp2;
	}

	public Double getTemp3() {
		return temp3;
	}

	public void setTemp3(Double temp3) {
		this.temp3 = temp3;
	}

	public Double getTemp4() {
		return temp4;
	}

	public void setTemp4(Double temp4) {
		this.temp4 = temp4;
	}

	public Double getTemp5() {
		return temp5;
	}

	public void setTemp5(Double temp5) {
		this.temp5 = temp5;
	}

	public Double getDensities() {
		return densities;
	}

	public void setDensities(Double densities) {
		this.densities = densities;
	}

	public Double getDensitiesStandard() {
		return densitiesStandard;
	}

	public void setDensitiesStandard(Double densitiesStandard) {
		this.densitiesStandard = densitiesStandard;
	}

	public String getTranStatus() {
		return tranStatus;
	}

	public void setTranStatus(String tranStatus) {
		this.tranStatus = tranStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getShift() {
		return shift;
	}

	public void setShift(String shift) {
		this.shift = shift;
	}

	public boolean equals(AppCenterSdstockBean obj) {
		String apptime = DateFormatUtils.format(obj.getStoretime(), "yyyy-MM-dd HH:mm:ss");
		String gktime = DateFormatUtils.format(storeTime, "yyyy-MM-dd HH:mm:ss");
		if (obj.getNodeno().equals(nodeNo) && obj.getOilcan().equals(oilCan) && apptime.equals(gktime)) {
			return true;
		}
		return false;
	}

}